<?php 
class PassportService extends Service{
	function isLogin(){
		$_session_user_id	=	intval($_SESSION['mid']);
		// 验证本地系统登录
		return $_session_user_id ? true:false;
	}
	
	/**
	 * 注销本地登录
	 * @return void
	 */
	public function doLogout() {
		//注销session
		unset($_SESSION['mid']);
		unset($_SESSION['uname']);
		unset($_SESSION['userInfo']);
	}
	
	function run(){}
}
?>